package beans;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/10/26.
 */

public class GoodsDetailInfoBean implements Serializable {
    private int type = 1;
    private String typeStatus;

    public String getTypeStatus() {
        return typeStatus;
    }

    public void setTypeStatus(String typeStatus) {
        this.typeStatus = typeStatus;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    private String name;
    private String specification;
    private String supplier;
    private String unit;
    private int number;
    private String time;
    private String operator;
    private int status;
    private String timeName;
    private String title;
    private String titleContent;
    private String titleThree;

    public String getTitleThree() {
        return titleThree;
    }

    public void setTitleThree(String titleThree) {
        this.titleThree = titleThree;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitleContent() {
        return titleContent;
    }

    public void setTitleContent(String titleContent) {
        this.titleContent = titleContent;
    }

    public String getTimeName() {
        return timeName;
    }

    public void setTimeName(String timeName) {
        this.timeName = timeName;
    }
    //    public static final Creator<GoodsDetailInfoBean> CREATOR = new Creator<GoodsDetailInfoBean>() {
//        @Override
//        public GoodsDetailInfoBean createFromParcel(Parcel in) {
//
//            GoodsDetailInfoBean bean = new GoodsDetailInfoBean();
//            bean.name =in.readString();
//            bean.specification =in.readString();
//            bean.supplier =in.readString();
//            bean.time =in.readString();
//            bean.operator =in.readString();
//            bean.number =in.readInt();
//            bean.status =in.readInt();
//
//            return bean;
//        }
//
//        @Override
//        public GoodsDetailInfoBean[] newArray(int size) {
//            return new GoodsDetailInfoBean[size];
//        }
//    };

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<String> getBarCode() {
        return barCode;
    }

    public void setBarCode(List<String> barCode) {
        this.barCode = barCode;
    }

    private List<String> barCode;

//    @Override
//    public int describeContents() {
//        return 0;
//    }
//
//    @Override
//    public void writeToParcel(Parcel dest, int flags) {
//
//        dest.writeString(name);
//        dest.writeString(specification);
//        dest.writeString(supplier);
//        dest.writeString(unit);
//        dest.writeString(time);
//        dest.writeString(operator);
//        dest.writeInt(number);
//        dest.writeInt(status);
//    }
}
